home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
prog
/
mui
/
muirexx2.2
/
demos
/
multicolumn.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-09-22
|
867b
|
23 lines
/* example of a multicolumn list */
MUIA_List_Format = 0x80423c0a /* V4 isg STRPTR */
MUIV_List_Insert_Bottom = -3
address example
window TITLE '"Multicolumn List Example"' COMMAND 'quit' PORT example
group
list ID ALST TITLE '"\033bcol 1,\033bcol 2,\033bcol 3"' ATTRS MUIA_List_Format '"MIW=25 P=\033c BAR,MIW=50 P=\033c\033b BAR,MIW=25 P=\033c"'
string COMMAND '"list ID ALST INSERT POS 'MUIV_List_Insert_Bottom' STRING %s"' PORT example
endgroup
group
list ID BLST TITLE '"\033bSingle column list"'
string COMMAND '"list ID BLST INSERT POS 'MUIV_List_Insert_Bottom' STRING %s"' PORT example
endgroup
endwindow
list ID ALST INSERT POS MUIV_List_Insert_Bottom STRING '1,2,3'
list ID ALST INSERT POS MUIV_List_Insert_Bottom STRING '4,5,6'
list ID ALST INSERT POS MUIV_List_Insert_Bottom STRING '7,8,9'
exit